package Client;

import java.awt.Font;
import java.io.IOException;

import javax.swing.plaf.FontUIResource;

import Client.ClientHendler;
import GUI.MainScreen;
/**
 * This  is the main class
 * @author Shlomit Yosfan
 * @author Nofar Sutliman
 */
public class AviDoorsMain {
	
	public static ClientHendler chat;
	public static int port = 5555;
	public static String host = "127.0.0.1";
	/**
	 * This method is the main thread of flowerrent information system 
	 * @param args
	 * @throws IOException
	 */
	public static void main(String[] args) throws IOException
	{
		javax.swing.UIManager.put("OptionPane.messageFont", new FontUIResource(new Font("Tahoma", Font.PLAIN, 18))); 
		
		
		try {		

			for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager
					.getInstalledLookAndFeels()) {
				if ("Nimbus".equals(info.getName())) {
					javax.swing.UIManager.setLookAndFeel(info.getClassName());
					
					break;
				}
			}
		} 
		catch (Exception e) {}

				@SuppressWarnings("unused")
				MainScreen main = new MainScreen();
				main.BuildScreen();
				
			}
	
}
